import request from '@/utils/request';

// 配伍禁忌列表
export const tabooList = params => request({
    url: '/business/incompatibilityTaboo/selectList',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 配伍禁忌新增
export const tabooAdd = params => request({
    url: '/business/incompatibilityTaboo/add',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 配伍禁忌更新
export const tabooUpdate = params => request({
    url: '/business/incompatibilityTaboo/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 查询药品相反相畏提示
export const isOppositeIncompatibility = params => request({
    url: '/business/incompatibilityTaboo/isOppositeIncompatibility',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 配伍禁忌删除
export const tabooDel = params => request({
    url: '/business/incompatibilityTaboo/delete',
    method: 'GET',
    params
});
